#pragma once


#include <cv.h>
#include <highgui.h>

// CBRDFDialog dialog

class CBRDFDialog : public CDialogEx
{
	DECLARE_DYNAMIC(CBRDFDialog)

public:
	CBRDFDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CBRDFDialog();

// Dialog Data
	enum { IDD = IDD_DIALOG_BRDF };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
private:
	int m_sampleX;
	int m_sampleY;
public:
	void ShowImage(IplImage* pImage, UINT ID);
public:
	int m_curImageIndex;
	afx_msg void OnBnClickedButtonLoadBrdfImage();
	afx_msg void OnBnClickedButtonSaveFeature();
	afx_msg void OnBnClickedButtonComputeExtrinsicParas();
	afx_msg void OnBnClickedButtonComputeBrdf();
	afx_msg void OnBnClickedButtonEvaluation();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnBnClickedButtonTestExtrinsic();
};
